package xyz.zyl2020.juc.thread;

/**
 * @author ZhuYinglong
 * @date 2020/10/8 0008
 */
public class ThreadDemo4 {

    public static void main(String[] args) {

        Thread myThread = new Thread(() -> {
        }, "myThread");
        // 创建线程类实例时，线程进入NEW状态
        System.out.println(myThread.getState());

        myThread.start();

    }

}
